import React, { Component } from 'react';
import styles from './index.module.less';
import ChatList from './chatList';
import ChatDetail from './chatDetail.js';

class Chat extends Component {

	render() {
		const { chatgroupid, bannerTips } = this.props;
		return (
			<div className={styles.App}>
				<div className={styles.leftBar}>
					<ChatList chatgroupid={chatgroupid} />
				</div>
				<div className={styles.rightContent}>
					<ChatDetail bannerTips={bannerTips} />
				</div>
			</div>
		);
	}
}

export default Chat